package day08_stream_file_charset.com.itheima.d2_file;

import java.io.File;

public class FileDemo1 {
    public static void main(String[] args) {
        File f1 = new File("D:/dlei.jpg");
        System.out.println("f1.length() = " + f1.length());

        File f2 = new File("D:/dlei.jpg");
        System.out.println("f2.exists() = " + f2.exists());

        File f3 = new File("D:/dlei.jpg");
        System.out.println("f3.mkdir() = " + f3.mkdir());
        System.out.println("f3 = " + f3);

        File f4 = new File("D:/dlei.jpg");
        System.out.println("f4.length() = " + f4.length());
        File f5 = new File("D:/dlei.jpg");
        System.out.println("f5.lastModified() = " + f5.lastModified());
    }
}
